[INFO] fetching crate thiserror-core 1.0.37...
[INFO] checking thiserror-core-1.0.37 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] extracting crate thiserror-core 1.0.37 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate thiserror-core 1.0.37 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate thiserror-core 1.0.37
[INFO] finished tweaking crates.io crate thiserror-core 1.0.37
[INFO] tweaked toml for crates.io crate thiserror-core 1.0.37 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-core-impl v1.0.37
[INFO] [stderr]   Downloaded dissimilar v1.0.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 136c3e037a299766320ddec8ec4fe64d448d0a3b4f5374fabfc60f32a1517e0b
[INFO] running `Command { std: "docker" "start" "-a" "136c3e037a299766320ddec8ec4fe64d448d0a3b4f5374fabfc60f32a1517e0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "136c3e037a299766320ddec8ec4fe64d448d0a3b4f5374fabfc60f32a1517e0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "136c3e037a299766320ddec8ec4fe64d448d0a3b4f5374fabfc60f32a1517e0b", kill_on_drop: false }`
[INFO] [stdout] 136c3e037a299766320ddec8ec4fe64d448d0a3b4f5374fabfc60f32a1517e0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0524a09bd41e9e6f4a154ca5cb67c08d216f6b2b937574b9830d9200521735bd
[INFO] running `Command { std: "docker" "start" "-a" "0524a09bd41e9e6f4a154ca5cb67c08d216f6b2b937574b9830d9200521735bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling thiserror-core v1.0.37 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling trybuild v1.0.75
[INFO] [stderr]    Compiling rustversion v1.0.11
[INFO] [stderr]    Compiling ref-cast v1.0.14
[INFO] [stderr]     Checking dissimilar v1.0.5
[INFO] [stderr]    Compiling thiserror-core-impl v1.0.37
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]    Compiling ref-cast-impl v1.0.14
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_display.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_backtrace.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]  --> tests/test_backtrace.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Error, Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[error("braced error: {msg}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 |     #[error("braced error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 |     #[error("tuple error: {0}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 |     #[error("unit error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_path.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]  --> tests/test_path.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Error, Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:53:11
[INFO] [stdout]    |
[INFO] [stdout] 53 |         #[error("braced error: {id}")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 |         #[error("tuple error: {0}")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |         #[error("unit error")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:68:14
[INFO] [stdout]    |
[INFO] [stdout] 68 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 |     #[error("{MSG}: {id:?} (code {CODE:?})")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_error.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_error.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_error.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_error.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_error.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_backtrace.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[error("...")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_expr.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]  --> tests/test_expr.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Error, Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[source]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_error.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:37:7
[INFO] [stdout]    |
[INFO] [stdout] 37 |     #[source]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_error.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 |         #[source]
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `source` in this scope
[INFO] [stdout]   --> tests/test_error.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Tuple(#[source] io::Error),
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_path.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[error("failed to read '{file}'")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_path.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Error, Debug, RefCast)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[error("{0}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:86:11
[INFO] [stdout]    |
[INFO] [stdout] 86 |         #[error("other error")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_path.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[error("failed to read '{file}'")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_display.rs:96:14
[INFO] [stdout]    |
[INFO] [stdout] 96 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_path.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_path.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[error("failed to read '{0}'")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_display.rs:97:7
[INFO] [stdout]    |
[INFO] [stdout] 97 |     #[error("fn main() {{}}")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_from.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:106:7
[INFO] [stdout]     |
[INFO] [stdout] 106 |     #[error("1 + 1 = {}", 1 + 1)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:113:14
[INFO] [stdout]     |
[INFO] [stdout] 113 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:114:7
[INFO] [stdout]     |
[INFO] [stdout] 114 |     #[error("!bool = {}", not(.0))]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:127:14
[INFO] [stdout]     |
[INFO] [stdout] 127 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]  --> tests/test_from.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Error, Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 12 previous errors
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:128:7
[INFO] [stdout]     |
[INFO] [stdout] 128 |     #[error("{}: {0}", match .1 {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:148:7
[INFO] [stdout]     |
[INFO] [stdout] 148 |     #[error("{}", {
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:176:14
[INFO] [stdout]     |
[INFO] [stdout] 176 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:177:7
[INFO] [stdout]     |
[INFO] [stdout] 177 |     #[error("...")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:186:7
[INFO] [stdout]     |
[INFO] [stdout] 186 |     #[error("a={a} :: b={} :: c={c} :: d={d}", 1, c = 2, d = 3)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:197:14
[INFO] [stdout]     |
[INFO] [stdout] 197 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:199:11
[INFO] [stdout]     |
[INFO] [stdout] 199 |         #[error("error {0}")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:201:11
[INFO] [stdout]     |
[INFO] [stdout] 201 |         #[error("error {0}", '?')]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:211:14
[INFO] [stdout]     |
[INFO] [stdout] 211 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:212:7
[INFO] [stdout]     |
[INFO] [stdout] 212 |     #[error(
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:229:7
[INFO] [stdout]     |
[INFO] [stdout] 229 |     #[error("{}", .0.data)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:241:29
[INFO] [stdout]     |
[INFO] [stdout] 241 |             #[derive(Debug, Error)]
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     decl_error!(Repro(u8));
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout]     = note: this error originates in the macro `decl_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[error("cannot shift {} by {maximum} or more bits (got {current})", if *.is_left { "left" } else { "right" })]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[error("#error {}", (.0).iter().copied().collect::<Vec<_>>().join(" "))]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 |     #[error("overflow while parsing {}integer literal",
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:243:19
[INFO] [stdout]     |
[INFO] [stdout] 243 |                 #[error("{0:?}")]
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     decl_error!(Repro(u8));
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `decl_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |             #[derive(Debug, Error)]
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     decl_error!(Repro(u8));
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout]     = note: this error originates in the macro `decl_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:29:7
[INFO] [stdout]    |
[INFO] [stdout] 29 |     #[error("overflow while parsing {}integer literal", match .is_signed {
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_expr.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:248:15
[INFO] [stdout]     |
[INFO] [stdout] 248 |             #[error("{0:?}")]
[INFO] [stdout]     |               ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     decl_error!(Repro(u8));
[INFO] [stdout]     |     ---------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `decl_error` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:263:14
[INFO] [stdout]     |
[INFO] [stdout] 263 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_expr.rs:40:7
[INFO] [stdout]    |
[INFO] [stdout] 40 |     #[error(
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:264:7
[INFO] [stdout]     |
[INFO] [stdout] 264 |     #[error("braced raw error: {r#fn}")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:274:14
[INFO] [stdout]     |
[INFO] [stdout] 274 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:276:11
[INFO] [stdout]     |
[INFO] [stdout] 276 |         #[error("braced raw error: {r#fn}")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 4 previous errors
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:285:14
[INFO] [stdout]     |
[INFO] [stdout] 285 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:287:11
[INFO] [stdout]     |
[INFO] [stdout] 287 |         #[error("braced raw error: {r#func}, {func}", func = "U")]
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]    --> tests/test_display.rs:296:14
[INFO] [stdout]     |
[INFO] [stdout] 296 |     #[derive(Error, Debug)]
[INFO] [stdout]     |              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> tests/test_display.rs:297:7
[INFO] [stdout]     |
[INFO] [stdout] 297 |     #[error("error: {type}", type = 1)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> tests/test_display.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{self, Display};
[INFO] [stdout]   |                ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_from.rs:5:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[error("...")]
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]  --> tests/test_from.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[from]
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_from.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[from]
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_from.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:19:3
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct ErrorTuple(#[from] io::Error);
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_from.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> tests/test_transparent.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `thiserror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]  --> tests/test_transparent.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Error, Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:23:3
[INFO] [stdout]    |
[INFO] [stdout] 23 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct ErrorTupleOptional(#[from] Option<io::Error>);
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_from.rs:26:10
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:27:3
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 |         #[from]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_from.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:36:3
[INFO] [stdout]    |
[INFO] [stdout] 36 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |         #[from]
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_from.rs:44:10
[INFO] [stdout]    |
[INFO] [stdout] 44 | #[derive(Error, Debug)]
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_from.rs:45:3
[INFO] [stdout]    |
[INFO] [stdout] 45 | #[error("...")]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Any(#[from] anyhow::Error),
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_from.rs:48:10
[INFO] [stdout]    |
[INFO] [stdout] 48 |     Io(#[from] io::Error),
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StructPathBuf` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_path.rs:33:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |     assert("failed to read '/thiserror'", StructPathBuf { file });
[INFO] [stdout]    |     ------                                ^^^^^^^^^^^^^^^^^^^^^^ `StructPathBuf` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StructPathBuf`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_path.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 13 previous errors
[INFO] [stdout] error[E0277]: `EnumPathBuf` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_path.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |     assert("failed to read '/thiserror'", EnumPathBuf::Read(file));
[INFO] [stdout]    |     ------                                ^^^^^^^^^^^^^^^^^^^^^^^ `EnumPathBuf` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `EnumPathBuf`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_path.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `StructPath` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_path.rs:36:43
[INFO] [stdout]    |
[INFO] [stdout] 36 |     assert("failed to read '/thiserror'", StructPath::ref_cast(path));
[INFO] [stdout]    |     ------                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ `StructPath` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `StructPath`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout]    = note: required for `&StructPath` to implement `std::fmt::Display`
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_path.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |       assert(
[INFO] [stdout]    |       ------ required by a bound introduced by this call
[INFO] [stdout] 60 |           "cannot shift left by 32 or more bits (got 50)",
[INFO] [stdout] 61 | /         CompilerError::TooManyShiftBits {
[INFO] [stdout] 62 | |             is_left: true,
[INFO] [stdout] 63 | |             maximum: 32,
[INFO] [stdout] 64 | |             current: 50,
[INFO] [stdout] 65 | |         },
[INFO] [stdout]    | |_________^ `CompilerError` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:68:28
[INFO] [stdout]    |
[INFO] [stdout] 68 |     assert("#error A B C", CompilerError::User(vec!["A", "B", "C"]));
[INFO] [stdout]    |     ------                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `CompilerError` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `CompilerError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |       assert(
[INFO] [stdout]    |       ------ required by a bound introduced by this call
[INFO] [stdout] 71 |           "overflow while parsing signed integer literal",
[INFO] [stdout] 72 | /         CompilerError::IntegerOverflow {
[INFO] [stdout] 73 | |             is_signed: Some(true),
[INFO] [stdout] 74 | |         },
[INFO] [stdout]    | |_________^ `CompilerError` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `CompilerError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `RustupError` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_expr.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |       assert(
[INFO] [stdout]    |       ------ required by a bound introduced by this call
[INFO] [stdout] 81 |           "toolchain 'nightly' does not contain component clipy; did you mean 'clippy'?",
[INFO] [stdout] 82 | /         RustupError::UnknownComponent {
[INFO] [stdout] 83 | |             name: "nightly".to_owned(),
[INFO] [stdout] 84 | |             component: "clipy".to_owned(),
[INFO] [stdout] 85 | |             suggestion: Some("clippy".to_owned()),
[INFO] [stdout] 86 | |         },
[INFO] [stdout]    | |_________^ `RustupError` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `RustupError`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_expr.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> tests/test_transparent.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[error(transparent)]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_transparent.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |         #[error("E0")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         #[error("E1")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 11 previous errors
[INFO] [stdout] error[E0277]: `test_braced::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |     assert("braced error: T", Error { msg });
[INFO] [stdout]    |     ------                    ^^^^^^^^^^^^^ `test_braced::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_braced::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_braced_unused::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:28:28
[INFO] [stdout]    |
[INFO] [stdout] 28 |     assert("braced error", Error { extra: 0 });
[INFO] [stdout]    |     ------                 ^^^^^^^^^^^^^^^^^^ `test_braced_unused::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_braced_unused::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |         E1(#[from] io::Error),
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_transparent.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_tuple::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |     assert("tuple error: 0", Error(0));
[INFO] [stdout]    |     ------                   ^^^^^^^^ `test_tuple::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_tuple::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |         #[error("this failed")]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_unit::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |     assert("unit error", Error);
[INFO] [stdout]    |     ------               ^^^^^ `test_unit::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_unit::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:61:31
[INFO] [stdout]    |
[INFO] [stdout] 61 |     assert("braced error: 0", Error::Braced { id: 0 });
[INFO] [stdout]    |     ------                    ^^^^^^^^^^^^^^^^^^^^^^^ `test_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_enum::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:62:30
[INFO] [stdout]    |
[INFO] [stdout] 62 |     assert("tuple error: 0", Error::Tuple(0));
[INFO] [stdout]    |     ------                   ^^^^^^^^^^^^^^^ `test_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_enum::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 |         #[error(transparent)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_transparent.rs:50:14
[INFO] [stdout]    |
[INFO] [stdout] 50 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:63:26
[INFO] [stdout]    |
[INFO] [stdout] 63 |     assert("unit error", Error::Unit);
[INFO] [stdout]    |     ------               ^^^^^^^^^^^ `test_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_enum::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 |     #[error(transparent)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_constants::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:77:43
[INFO] [stdout]    |
[INFO] [stdout] 77 |     assert("failed to do: \"\" (code 9)", Error { id: "" });
[INFO] [stdout]    |     ------                                ^^^^^^^^^^^^^^^^ `test_constants::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_constants::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_inherit::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:90:26
[INFO] [stdout]    |
[INFO] [stdout] 90 |     assert("some error", Error::Some("some error"));
[INFO] [stdout]    |     ------               ^^^^^^^^^^^^^^^^^^^^^^^^^ `test_inherit::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_inherit::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorStruct: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:55:19
[INFO] [stdout]    |
[INFO] [stdout] 55 |     assert_impl::<ErrorStruct>();
[INFO] [stdout]    |                   ^^^^^^^^^^^ the trait `From<std::io::Error>` is not implemented for `ErrorStruct`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorStructOptional: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 56 |     assert_impl::<ErrorStructOptional>();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ the trait `From<std::io::Error>` is not implemented for `ErrorStructOptional`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorTuple: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 |     assert_impl::<ErrorTuple>();
[INFO] [stdout]    |                   ^^^^^^^^^^ the trait `From<std::io::Error>` is not implemented for `ErrorTuple`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorTupleOptional: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 58 |     assert_impl::<ErrorTupleOptional>();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^ the trait `From<std::io::Error>` is not implemented for `ErrorTupleOptional`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorEnum: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |     assert_impl::<ErrorEnum>();
[INFO] [stdout]    |                   ^^^^^^^^^ the trait `From<std::io::Error>` is not implemented for `ErrorEnum`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ErrorEnumOptional: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     assert_impl::<ErrorEnumOptional>();
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ the trait `From<std::io::Error>` is not implemented for `ErrorEnumOptional`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Many: From<std::io::Error>` is not satisfied
[INFO] [stdout]   --> tests/test_from.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |     assert_impl::<Many>();
[INFO] [stdout]    |                   ^^^^ the trait `From<std::io::Error>` is not implemented for `Many`
[INFO] [stdout]    |
[INFO] [stdout] note: required by a bound in `assert_impl`
[INFO] [stdout]   --> tests/test_from.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn assert_impl<T: From<io::Error>>() {}
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ required by this bound in `assert_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct Any(#[from] anyhow::Error);
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_transparent.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[error(transparent)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]   --> tests/test_transparent.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 |     #[derive(Error, Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> tests/test_transparent.rs:69:11
[INFO] [stdout]    |
[INFO] [stdout] 69 |         #[error("unexpected token: {:?}", token)]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_inherit::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_display.rs:91:27
[INFO] [stdout]    |
[INFO] [stdout] 91 |     assert("other error", Error::Other("..."));
[INFO] [stdout]    |     ------                ^^^^^^^^^^^^^^^^^^^ `test_inherit::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |     |
[INFO] [stdout]    |     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `test_inherit::Error`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]   --> tests/test_display.rs:4:14
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]    |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 31 previous errors
[INFO] [stdout] error[E0277]: `test_brace_escape::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:100:28
[INFO] [stdout]     |
[INFO] [stdout] 100 |     assert("fn main() {}", Error);
[INFO] [stdout]     |     ------                 ^^^^^ `test_brace_escape::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_brace_escape::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_expr::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:108:25
[INFO] [stdout]     |
[INFO] [stdout] 108 |     assert("1 + 1 = 2", Error);
[INFO] [stdout]     |     ------              ^^^^^ `test_expr::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_expr::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_nested::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:122:29
[INFO] [stdout]     |
[INFO] [stdout] 122 |     assert("!bool = false", Error(true));
[INFO] [stdout]     |     ------                  ^^^^^^^^^^^ `test_nested::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_nested::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_match::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:136:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 135 |         "error occurred with 1: ...",
[INFO] [stdout] 136 |         Error("...".to_owned(), Some(1)),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_match::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_match::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_match::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 139 |         "there was an empty error: ...",
[INFO] [stdout] 140 |         Error("...".to_owned(), None),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_match::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_match::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_nested_display::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 163 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 164 |         "error occurred with 1: ...",
[INFO] [stdout] 165 |         Error("...".to_owned(), Some(1)),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_nested_display::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_nested_display::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_nested_display::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     assert(
[INFO] [stdout]     |     ------ required by a bound introduced by this call
[INFO] [stdout] 168 |         "there was an empty error: ...",
[INFO] [stdout] 169 |         Error("...".to_owned(), None),
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_nested_display::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_nested_display::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_mixed::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:192:40
[INFO] [stdout]     |
[INFO] [stdout] 192 |     assert("a=0 :: b=1 :: c=2 :: d=3", Error { a: 0, d: 0 });
[INFO] [stdout]     |     ------                             ^^^^^^^^^^^^^^^^^^^^ `test_mixed::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_mixed::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_ints::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:205:23
[INFO] [stdout]     |
[INFO] [stdout] 205 |     assert("error 9", Error::Tuple(9, 0));
[INFO] [stdout]     |     ------            ^^^^^^^^^^^^^^^^^^ `test_ints::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_ints::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_ints::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:206:23
[INFO] [stdout]     |
[INFO] [stdout] 206 |     assert("error ?", Error::Struct { v: 0 });
[INFO] [stdout]     |     ------            ^^^^^^^^^^^^^^^^^^^^^^ `test_ints::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_ints::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_trailing_comma::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:218:23
[INFO] [stdout]     |
[INFO] [stdout] 218 |     assert("error ?", Error('?'));
[INFO] [stdout]     |     ------            ^^^^^^^^^^ `test_trailing_comma::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_trailing_comma::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_field::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:232:17
[INFO] [stdout]     |
[INFO] [stdout] 232 |     assert("0", Error(Inner { data: 0 }));
[INFO] [stdout]     |     ------      ^^^^^^^^^^^^^^^^^^^^^^^^ `test_field::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_field::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Error0` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:257:17
[INFO] [stdout]     |
[INFO] [stdout] 257 |     assert("0", Error0::Repro(0));
[INFO] [stdout]     |     ------      ^^^^^^^^^^^^^^^^ `Error0` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `Error0`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Error1` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:258:17
[INFO] [stdout]     |
[INFO] [stdout] 258 |     assert("0", Error1::Repro(0));
[INFO] [stdout]     |     ------      ^^^^^^^^^^^^^^^^ `Error1` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `Error1`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_raw::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:269:35
[INFO] [stdout]     |
[INFO] [stdout] 269 |     assert("braced raw error: T", Error { r#fn: "T" });
[INFO] [stdout]     |     ------                        ^^^^^^^^^^^^^^^^^^^ `test_raw::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_raw::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_raw_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:280:35
[INFO] [stdout]     |
[INFO] [stdout] 280 |     assert("braced raw error: T", Error::Braced { r#fn: "T" });
[INFO] [stdout]     |     ------                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_raw_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_raw_enum::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_raw_conflict::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:291:38
[INFO] [stdout]     |
[INFO] [stdout] 291 |     assert("braced raw error: T, U", Error::Braced { r#func: "T" });
[INFO] [stdout]     |     ------                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_raw_conflict::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_raw_conflict::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `test_keyword::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> tests/test_display.rs:300:24
[INFO] [stdout]     |
[INFO] [stdout] 300 |     assert("error: 1", Error);
[INFO] [stdout]     |     ------             ^^^^^ `test_keyword::Error` cannot be formatted with the default formatter
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `std::fmt::Display` is not implemented for `test_keyword::Error`
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] note: required by a bound in `assert`
[INFO] [stdout]    --> tests/test_display.rs:4:14
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn assert<T: Display>(expected: &str, value: T) {
[INFO] [stdout]     |              ^^^^^^^ required by this bound in `assert`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 79 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 80 previous errors; 1 warning emitted
[INFO] [stdout] error[E0599]: `test_transparent_struct::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     method `to_string` not found for this struct
[INFO] [stdout]    |     doesn't satisfy `test_transparent_struct::Error: ToString`
[INFO] [stdout]    |     doesn't satisfy `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     assert_eq!("E0", error.to_string());
[INFO] [stdout]    |                            ^^^^^^^^^ `test_transparent_struct::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_struct::Error: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/fmt/mod.rs:762:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------ method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     assert!(error.source().is_none());
[INFO] [stdout]    |                   ^^^^^^ method not found in `Error`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_transparent.rs:25:39
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let error = Error(ErrorKind::from(io));
[INFO] [stdout]    |                       --------------- ^^ expected enum `ErrorKind`, found struct `Error`
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/convert/mod.rs:548:8
[INFO] [stdout] help: try wrapping the expression in `test_transparent_struct::ErrorKind::E1`
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let error = Error(ErrorKind::from(test_transparent_struct::ErrorKind::E1(io)));
[INFO] [stdout]    |                                       +++++++++++++++++++++++++++++++++++++++  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_transparent_struct::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     method `to_string` not found for this struct
[INFO] [stdout]    |     doesn't satisfy `test_transparent_struct::Error: ToString`
[INFO] [stdout]    |     doesn't satisfy `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 26 |     assert_eq!("E1", error.to_string());
[INFO] [stdout]    |                            ^^^^^^^^^ `test_transparent_struct::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_struct::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_struct::Error: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/fmt/mod.rs:762:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Error(ErrorKind);
[INFO] [stdout]    |     ------------ method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 27 |     error.source().unwrap().downcast_ref::<io::Error>().unwrap();
[INFO] [stdout]    |           ^^^^^^ method not found in `Error`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_transparent_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:41:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Error {
[INFO] [stdout]    |     ----------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     method `to_string` not found for this enum
[INFO] [stdout]    |     doesn't satisfy `test_transparent_enum::Error: ToString`
[INFO] [stdout]    |     doesn't satisfy `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 41 |     assert_eq!("this failed", error.to_string());
[INFO] [stdout]    |                                     ^^^^^^^^^ `test_transparent_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_enum::Error: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/fmt/mod.rs:762:1
[INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error`
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/alloc/src/string.rs:2515:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_transparent_enum::Error` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:44:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Error {
[INFO] [stdout]    |     ----------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     method `to_string` not found for this enum
[INFO] [stdout]    |     doesn't satisfy `test_transparent_enum::Error: ToString`
[INFO] [stdout]    |     doesn't satisfy `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 44 |     assert_eq!("outer", error.to_string());
[INFO] [stdout]    |                               ^^^^^^^^^ `test_transparent_enum::Error` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_transparent_enum::Error: std::fmt::Display`
[INFO] [stdout]            which is required by `test_transparent_enum::Error: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/fmt/mod.rs:762:1
[INFO] [stdout] note: the method `to_string` exists on the type `anyhow::Error`
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/alloc/src/string.rs:2515:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for enum `Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:45:31
[INFO] [stdout]    |
[INFO] [stdout] 33 |     enum Error {
[INFO] [stdout]    |     ---------- method `source` not found for this enum
[INFO] [stdout] ...
[INFO] [stdout] 45 |     assert_eq!("inner", error.source().unwrap().to_string());
[INFO] [stdout]    |                               ^^^^^^ method not found in `Error`
[INFO] [stdout]    |
[INFO] [stdout] note: the method `source` exists on the type `anyhow::Error`
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/error.rs:83:5
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_transparent.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let error = Any::from(anyhow!("inner").context("outer"));
[INFO] [stdout]    |                 --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Any`, found struct `Error`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/convert/mod.rs:548:8
[INFO] [stdout] help: try wrapping the expression in `test_anyhow::Any`
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let error = Any::from(test_anyhow::Any(anyhow!("inner").context("outer")));
[INFO] [stdout]    |                           +++++++++++++++++                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `test_anyhow::Any` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> tests/test_transparent.rs:55:31
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct Any(#[from] anyhow::Error);
[INFO] [stdout]    |     ----------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     method `to_string` not found for this struct
[INFO] [stdout]    |     doesn't satisfy `test_anyhow::Any: ToString`
[INFO] [stdout]    |     doesn't satisfy `test_anyhow::Any: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 55 |     assert_eq!("outer", error.to_string());
[INFO] [stdout]    |                               ^^^^^^^^^ `test_anyhow::Any` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_anyhow::Any: std::fmt::Display`
[INFO] [stdout]            which is required by `test_anyhow::Any: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/fmt/mod.rs:762:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `Any` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:56:31
[INFO] [stdout]    |
[INFO] [stdout] 52 |     struct Any(#[from] anyhow::Error);
[INFO] [stdout]    |     ---------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |     assert_eq!("inner", error.source().unwrap().to_string());
[INFO] [stdout]    |                               ^^^^^^ method not found in `Any`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] help: one of the expressions' fields has a method of the same name
[INFO] [stdout]    |
[INFO] [stdout] 56 |     assert_eq!("inner", error.0.source().unwrap().to_string());
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `to_string` exists for struct `Error<'_>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> tests/test_transparent.rs:76:53
[INFO] [stdout]    |
[INFO] [stdout] 63 |     struct Error<'a> {
[INFO] [stdout]    |     ----------------
[INFO] [stdout]    |     |
[INFO] [stdout]    |     method `to_string` not found for this struct
[INFO] [stdout]    |     doesn't satisfy `test_non_static::Error<'_>: ToString`
[INFO] [stdout]    |     doesn't satisfy `test_non_static::Error<'_>: std::fmt::Display`
[INFO] [stdout] ...
[INFO] [stdout] 76 |     assert_eq!("unexpected token: \"error\"", error.to_string());
[INFO] [stdout]    |                                                     ^^^^^^^^^ method cannot be called on `Error<'_>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `test_non_static::Error<'_>: std::fmt::Display`
[INFO] [stdout]            which is required by `test_non_static::Error<'_>: ToString`
[INFO] [stdout] note: the trait `std::fmt::Display` must be implemented
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/fmt/mod.rs:762:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `source` found for struct `Error` in the current scope
[INFO] [stdout]   --> tests/test_transparent.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 63 |     struct Error<'a> {
[INFO] [stdout]    |     ---------------- method `source` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     assert!(error.source().is_none());
[INFO] [stdout]    |                   ^^^^^^ method not found in `Error<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `source`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `std::error::Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> tests/test_transparent.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error as _;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `thiserror-core` due to 31 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0524a09bd41e9e6f4a154ca5cb67c08d216f6b2b937574b9830d9200521735bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0524a09bd41e9e6f4a154ca5cb67c08d216f6b2b937574b9830d9200521735bd", kill_on_drop: false }`
[INFO] [stdout] 0524a09bd41e9e6f4a154ca5cb67c08d216f6b2b937574b9830d9200521735bd
